package org.example;import lombok.SneakyThrows;import org.junit.Test;import java.io.BufferedReader;import java.io.InputStreamReader;import java.io.PrintWriter;import java.net.Socket;public class TimeClient {    @SneakyThrows    @Test    public void sendTimeServer() {        Socket socket = new Socket("127.0.0.1", 9999);        BufferedReader in = new BufferedReader(new InputStreamReader(socket.getInputStream()));        PrintWriter out = new PrintWriter(socket.getOutputStream(), true);        out.println("Query time Order");        System.out.println("send order 2 server successd");        String resp = in.readLine();        System.out.println("now is :" + resp);    }}